package com.durian.financial.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.durian.common.core.annotation.Excel;
import com.durian.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 银行代码对象 t_m_bank
 * 
 * @author durian
 * @date 2022-06-26
 */
@EqualsAndHashCode(callSuper = true)
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Bank extends BaseEntity implements Cloneable
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 商业银行名称 */
    @Excel(name = "商业银行名称")
    private String bankName;

    /** 商业银行编号（拉卡拉） */
    @Excel(name = "商业银行编号", readConverterExp = "拉=卡拉")
    private String bankCodeLkl;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 预留字段1 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预留字段1", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reserve1;

    /** 预留字段2 */
    @Excel(name = "预留字段2")
    private Long reserve2;

    /** 预留字段3 */
    @Excel(name = "预留字段3")
    private String reserve3;

    /** 预留字段4 */
    @Excel(name = "预留字段4")
    private String reserve4;

    /** 预留字段5 */
    @Excel(name = "预留字段5")
    private String reserve5;

    /** 删除标识。0:未删除，1：删除 */
    @Excel(name = "删除标识。0:未删除，1：删除")
    private Integer delFlg;

    /** 创建用户ID */
    @Excel(name = "创建用户ID")
    private Long createUserid;

    /** 更新用户ID */
    @Excel(name = "更新用户ID")
    private Long updateUserid;

}
